package com.enjoybyte.pangucloud.api.client;

import com.enjoybyte.pangucloud.api.dto.UserDemoDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "demo-service")
public interface DemoClient {

    @GetMapping("/userDemo/getUserByid/{id}")
    UserDemoDto getUserDemoByIds(@PathVariable Long id);
}
